-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert premul alpha to spell without the T #91399
Conversation
material.cpp
and docs
4e97b58
to
b6c25b3
Compare
b6c25b3
to
9b10f99
Compare
9b10f99
to
9f099b5
Compare
material.cpp
and docsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. This aligns with the naming of the CanvasItem blend mode (which is admittedly inconsistent).
9f099b5
to
db06397
Compare
Initially 3d had premulT alpha as a keyword. Since Canvas item uses mixed premul and premult as keywords, 3D is changed as well to keep consistency with 2D. Unfortunately this keeps inconsistency with the internal ENUM.
db06397
to
e410643
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. We now need add blend_premul_alpha
and PREMUL_ALPHA
to the spatial shader docs https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/spatial_shader.html
Thanks! |
Follow up for #85609
Changed naming back to keep (in)consistencies with 2D.